package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 ********************************************************
 * 小黑鱼配置类
 * @author zhangjialian
 * @Date 2018-12-13 14:55
 * @Version V1.0
 ********************************************************/
@Component
@DisconfFile(filename = "xhy.properties", targetDirPath = "disconf")
public class XhyProperties {
    /**
     * 客户编码
     */
    private String internetlevelUrl;
    /**
     * 客户编码
     */
    private String partnerCode;
    /**
     * 客户密钥
     */
    private String partnerKey;
    @DisconfFileItem(name = "xhy.internetlevelUrl", associateField = "internetlevelUrl")
    public String getInternetlevelUrl() {
        return internetlevelUrl;
    }

    public void setInternetlevelUrl(String internetlevelUrl) {
        this.internetlevelUrl = internetlevelUrl;
    }

    @DisconfFileItem(name = "xhy.partnerCode", associateField = "partnerCode")
    public String getPartnerCode() {
        return partnerCode;
    }

    public void setPartnerCode(String partnerCode) {
        this.partnerCode = partnerCode;
    }
    @DisconfFileItem(name = "xhy.partnerKey", associateField = "partnerKey")
    public String getPartnerKey() {
        return partnerKey;
    }

    public void setPartnerKey(String partnerKey) {
        this.partnerKey = partnerKey;
    }
}
